Security and energy control system and method

ABSTRACT

A system detects for the presence of an identification (ID) code associated with an object. The detected ID code is communicated to a computer and power is provided to an energy consumption device. In response to detecting that the ID code has been absent for less than a first duration, an indication of the absence of the ID code is communicated to the computer and energy is withheld from the energy consumption device. If, however, the ID code has been absent for more than the first duration and motion is detected in a field of view, an intruder indication is communicated to the computer if the presence of the ID code is not detected within a second duration. However, if motion is not detected in the field of view, power is provided or withheld from the energy consumption device as a function of an ambient temperature of an environment.

CROSS REFERENCE TO RELATED APPLICATION

[0001] This application is a continuation of U.S. patent application Ser. No. 10/275,147, filed Nov. 1, 2002.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention is related to a presence detection and control system and, more specifically, to a combination security and energy control system for use in hotels/motels.

[0004] 2. Description of the Prior Art

[0005] Presently, the hotel/motel industry is faced with two seemingly unrelated problems. Firstly, there presently exists no easy and convenient way to install a security system in each room of a hotel/motel for generating an alarm when an unauthorized person enters the room. Secondly, guests exiting a room of a hotel or motel often forget to setback a thermostat of a room heating, ventilation and air conditioning (HVAC) unit to reduce power consumption when they are not in the room. More specifically, during warm summer months, it is desirable for guests exiting their room to increase the room temperature to a level that is not uncomfortable, but results in a reduction in the energy consumed by the room HVAC unit when the guest is not present in the room. Similarly, in cold winter months, it is desirable for a guest to decrease the room temperature when exiting the room to a level that is not uncomfortable, but results in a reduction in the energy consumed by the room HVAC unit when the guest is not in the room. Presently, there exists no easy and convenient way to setback a room temperature when a guest exits the room and to return the room to a desired temperature when the guest returns to the room.

[0006] An example of an energy saving device which energizes and deenergizes electrical loads when such loads are not in use is disclosed in U.S. Pat. No. 5,495,984 to Santarriaga which issued on Mar. 5, 1996.

[0007] It is, therefore, desirable to overcome the above problems and others by providing a presence detection and control system and method which detects the presence or absence of a guest or intruder in a room and which controls the ambient temperature in the room based on the presence or absence of a guest in the room. It is also desirable to provide a presence detection and control system and method which creates a record of when a guest or intruder enters a room and when the guest leaves the room. It is also desirable to setback the ambient temperature in the room when the guest is absent from the room and to return the ambient temperature to a desired temperature when the guest returns to the room. Still other desirable features of the invention will become apparent to those of ordinary skill in the art upon reading and understanding the following detailed description.

SUMMARY

[0008] The invention is a security and energy control system that includes a card reader for generating an identification (ID) code in response to detecting an ID card; a motion sensor for generating a motion signal in response to detecting motion in a field of view of the motion sensor; a temperature sensor for generating a temperature signal based on a temperature detected thereby; a transmitter for generating at least one wireless control signal based on the ID code, the motion signal and/or the temperature signal; a first switch connected between an energy source and an energy consumption device; a first receiver responsive to a first wireless control signal from the transmitter for causing the first switch to connect the energy source to the power consumption device; means for conveying a message on a communication link; and a second receiver responsive to a second wireless control signal from the transmitter for causing the conveying means to convey the message on the communication link, wherein the conveying means includes a first controller for producing the message based on the second wireless control signal, transmitting means responsive to the first controller for transmitting the message on the communication link and a second switch connected between the transmitting means and the communication link, the second switch responsive to the first controller for connecting the transmitting means to the communication link.

[0009] The transmitting means can include a modem.

[0010] The system can include a second controller responsive to the motion signal for causing the transmitter to output the second wireless control signal which causes the conveying means to convey the message including an indication that the motion signal is generated. The second controller can also be responsive to the temperature signal for causing the transmitter to generate the first wireless control signal.

[0011] In addition to being responsive to the motion signal, the second controller can also be responsive to the ID code. The second controller can determine if a predetermined interval expires from a time when the motion signal is generated. If the ID code is generated before the predetermined interval expires, the second controller can cause the transmitter to generate the second wireless control signal which causes a conveying means to convey the message including the ID code. However, if the ID code is not generated before the predetermined interval expires, the second controller causes the transmitter to generate the second wireless control signal which causes a conveying means to convey the message including an indication that the ID code was not received before the predetermined interval expired.

[0012] The system can also include a third controller responsive to the conveyed message for setting an alarm condition when a conveyed message includes the indication that the ID code was not generated before the expiration of the predetermined interval. Also or alternatively, the third controller can be responsive to the conveyed message for setting the alarm condition when the ID code does not match a reference ID code. Data related to each message conveyed on the communication link can be recorded along with a time each message is received.

[0013] The ID code can be magnetically recorded on the ID card and the card reader can include means for detecting the ID code when the ID card is positioned adjacent or moves adjacent the card reader.

[0014] At least one of the switches can comprise a relay.

[0015] The invention is also a security and energy control system that includes means for outputting an identification (ID) code related to an identity of an individual; means for producing a motion signal in response to detecting motion in a field of view; means for producing a temperature signal related to an ambient temperature; means for generating at least one wireless control signal based on the ID code, the motion signal and/or the temperature signal; means for receiving the at least one wireless control signal; and at least one of (i) means for connecting an energy source to an energy consumption device in response to the receiving means receiving the at least one wireless control signal and (ii) means for conveying a message to a communication link in response to the receiving means receiving the at least one wireless control signal, wherein the receiving means includes at least one of: a first receiver responsive to a first wireless control signal for causing the connecting means to connect the energy source to the energy consumption device; and a second receiver responsive to a second wireless control signal for causing the conveying means to convey the message to the communication link.

[0016] The invention is also a security and energy control method that includes the steps of: (a) determining if an object having an identification (ID) code associated therewith is either present at or absent from a predetermined location within a room; (b) if the object is present at the predetermined location for less than a first duration, causing the ID code to be communicated to a computer located remotely along with an indication that the object is present at the predetermined location and causing power to be provided to an energy consumption device; (c) if the object is absent from the predetermined location for less than a second duration, causing an indication that the object is not present at the predetermined location to be communicated to the computer and causing power to be withheld from the energy consumption device; (d) if the object is absent from the predetermined location for more than the second duration, detecting for motion in the room; and (e) if motion is detected in step (d), causing an intruder indication to be communicated to the computer after delaying a third duration.

[0017] The method can further include the step of: (f) if motion is not detected in step (d), causing power to be provided to or withheld from the energy consumption device based on an ambient temperature of the room.

[0018] Lastly, the invention is a security and energy control method that includes the steps of: (a) detecting for the presence or absence of an identification (ID) code associated with an object; (b) in response to detecting the presence of the ID code, communicating the ID code to a computer and providing power to an energy consumption device; (c) in response to detecting that the ID code has been absent for less than a first duration, communicating an indication of the absence of the ID code to the computer and withholding power from the energy consumption device, otherwise, detecting for motion in a field of view; and (d) if motion is detected in the field of view and if the presence of the ID code is not detected within a second duration, communicating to the computer an indication that motion has been detected.

[0019] The method can also include the step of: (e) if motion is not detected in the field of view, providing or withholding power from the energy consumption device as a function of an ambient temperature of an environment.

BRIEF DESCRIPTION OF THE DRAWINGS

[0020]FIG. 1 is a block diagram of a presence detection and control system in accordance with the present invention;

[0021]FIG. 2 is a detailed block diagram of the main security/power control device shown in FIG. 1;

[0022]FIG. 3 is a detailed block diagram of the smart outlet shown in FIG. 1;

[0023]FIG. 4 is a detailed block diagram of the phone interrupter/dialer shown in FIG. 1;

[0024]FIG. 5 is a detailed block diagram of the remote motion sensor shown in FIG. 1;

[0025]FIG. 6 is a detailed block diagram of the remote smoke detector shown in FIG. 1;

[0026]FIG. 7 is a detailed block diagram of the smart room thermostat shown in FIG. 1; and

[0027]FIGS. 8a and 8 b are a flow chart of the operation of the presence detection and control system, shown in FIG. 1.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] The present invention will be described with reference to the accompanying drawings wherein like reference numbers correspond to like elements.

[0029] With reference to FIG. 1, the present invention is a presence detection and control system 2 which can be utilized for security and energy control purposes in, for example, a hotel/motel. System 2 includes a main security/power control device 4 (hereinafter a “main control device”) configured to transmit wireless radio control signals to one or more smart outlets 6 and a phone interrupter/dialer 8. Each smart outlet 6 and phone interrupter/dialer 8 is configured to receive at least one radio control signal from main control device 4. More specifically, main control device 4, each smart outlet 6 and phone interrupter/dialer 8 are configured so that main control device 4 can control the operation of each smart outlet 6 and/or phone interrupter/dialer 8 individually, simultaneously, or in some selected combination thereof.

[0030] Main control device 4, each smart outlet 6 and phone interrupter/dialer 8 are configured to be plugged into a standard wall outlet for receiving alternating current (AC) power therefrom. Each smart outlet 6 and phone interrupter/dialer 8 are positioned in a room 10, or a plurality of adjacent rooms (not shown), within the transmitting range of the radio control signals transmitted from main control device 4.

[0031] Preferably, each radio control signal is transmitted by main control device 4 in the FM frequency band. To avoid interference between presence detection and control systems 2 in adjacent rooms 10 of a hotel/motel, each presence detection and control system 2 is configured so that its radio control signals are transmitted in a manner that does not interfere with the operation of another presence detection and control system 2. To this end, presence detection and control systems 2 that are installed in rooms that are adjacent each other, either on the same floor or on adjacent floors, can be configured to operate on different FM frequency bands and/or in different time slices of a single FM frequency band. Other coding techniques which prevent radio control signals of one presence detection and control system 2 from interfering with the operation of another presence detection and control system 2 can also be utilized. To further avoid such interference, each presence detection and control system 2 is preferably configured to transmit radio control signals that remain essentially inside each room 10 or adjoining rooms of a hotel/motel in which each presence detection and control system 2 is installed.

[0032] With reference to FIG. 2 and with continuing reference to FIG. 1, main control device 4 includes a controller 12, an RF transmitter 14, a motion sensor 16, a temperature sensor 18, a card reader 20, a clock/timing circuit 22, a user interface including a keyboard 26 and a display 28, and an audio speaker 30. An AC/DC power supply 32 receives incoming AC power from a conventional AC source, such as a wall outlet, and provides DC power as necessary to the components of main control device 4.

[0033] Motion sensor 16 generates a motion signal which is supplied to controller 12 in response to motion sensor 16 detecting motion in a field of view of motion sensor 16. Temperature sensor 18 generates a temperature signal which is provided to controller 12. This temperature signal is related to a temperature detected by a temperature detecting element (not shown) of temperature sensor 18. Card reader 20 generates an identification (ID) code in response to detecting an ID card 34. Preferably, the ID code is magnetically recorded on ID card 34 and card reader 20 includes appropriate magnetic detection circuitry (not shown) for detecting the ID code when the ID card is positioned adjacent the magnetic detection circuitry. Motion sensor 16, temperature sensor 18 and card reader 20 are conventional in the art and will not be described further herein.

[0034] Clock/timing circuit 22 is preferably a real time clock that can be utilized by controller 12 to determine intervals of time. User interface 24 includes keyboard 26 which can be utilized by a user of main control device 4 to input data into controller 12 and display 28 which controller 12 can utilize to display operating parameters of main control device 4. Audio speaker 30 is connected to convert audio frequency signals from controller 12 into audio tones in a manner known in the art.

[0035] Controller 12 is preferably a conventional microprocessor based control system operating under the control of an embedded software program. Controller 12 preferably includes a microprocessor, a memory unit and any required interface circuitry required for interfacing controller 12 to any elements providing input to controller 12 or to any elements to be controlled by controller 12. The specifics of controller 12 have not been included in FIG. 2 for simplicity of illustration.

[0036] RF transmitter 14 is configured to receive data from controller 12 and to generate radio control signals which are broadcast via an antenna 36 for receipt by smart outlets 6 and/or phone interrupter/dialer 8. Preferably, this data is modulated based on the ID code received from card reader 20, the temperature signal received from temperature sensor 18 and/or the motion signal received from motion sensor 16.

[0037] Optionally, main control device 4 can include a smoke detector 38 which supplies controller 12 with a smoke detection signal based on the detection of smoke by smoke detector 38 in a manner known in the art.

[0038] Main control device 4 can also include an optional RF receiver 40 and a transmit/receive switch 42. RF receiver 40 is configured to supply to controller 12 data corresponding to radio signals received by RF receiver 40 via antenna 36. Transmit/receive switch 42 selectively connects antenna 36 to RF transmitter 14 or RF receiver 40 under the control of controller 12 thereby enabling antenna 36 to be used for broadcasting radio control signals or for receiving radio signals.

[0039] With reference to FIG. 3 and with continuing reference to FIGS. 1 and 2, each smart outlet 6 includes an antenna 50 which supplies radio control signals received from main control device 4 to an RF receiver 52. RF receiver 52 demodulates the received radio control signals into data which is supplied to a controller 54 for processing. Each smart outlet 6 has a data address which main control device 4 utilizes for the selective control thereof. This address can be stored in controller 54 of each smart outlet 6 when each smart outlet 6 is manufactured or can be established by jumpers and/or switches (not shown) in a manner known in the art when each smart outlet 6 is installed. Preferably, each controller 54 includes a processor, a memory unit and interface circuitry.

[0040] In order for main control device 4 to control each smart outlet 6, main control device 4 is programmed, either during manufacturing of main control device 4 or via user interface 24, to include the address of each smart outlet 6 to be controlled by main control device 4. These addresses are modulated along with the data supplied to RF transmitter 14 by controller 12 of main control device 4 for modulation into radio control signals broadcast via antenna 36.

[0041] If controller 54 determines that the data received from RF receiver 52 includes the address of controller 54, controller 54 responds by selectively energizing/deenergizing a relay 56. Relay 56 has a switch 58 connected at one end to an available source of incoming AC power, such as a wall outlet, and connected at its other end to one or more power consumption devices, such as a room HVAC unit 60, a lamp 62, a television 64, and the like. Lastly, each smart outlet 6 includes an AC/DC power supply 66 which converts incoming AC power into DC power for use by RF receiver 52, controller 54 and relay 56.

[0042] With reference to FIG. 4 and with continuing reference to FIG. 1, phone interrupter/dialer 8 includes an antenna 68 which supplies radio control signals received from main control device 4 to an RF receiver 70. RF receiver 70 demodulates the received radio control signals into data which is supplied to a controller 72 for processing. Controller 72 is connected to a relay 74 and a modem 76. Relay 74 includes a switch 78 which can be selectively switched to connect a telephone line 80, connected to relay 74, between a room telephone 82 and an output port of modem 76. The other end of telephone line 80 is connected to a prior art telephone switch 84. Telephone switch 84 responds to dialing commands supplied on telephone line 80 to selectively connect telephone line 80 to another telephone 86 or to a modem 88 which interfaces telephone line 80 to a central controller 90 for processing of data transmitted from controller 72 to central controller 90 via modem 76.

[0043] Phone interrupter/dialer 8 has a data address which main control device 4 utilizes for the selective control thereof. This address can be stored in controller 72 when phone interrupter/dialer 8 is manufactured or can be established by jumpers and/or switches (not shown) in a manner known in the art when phone interrupter/dialer 8 is installed. Preferably, controller 72 includes a processor, a memory unit and interface circuitry.

[0044] In order for main control device 4 to control phone interrupter/dialer 8, main control device 4 is programmed, either during manufacturing of main control device 4 or via user interface 24, to include the data address of phone interrupter/dialer 8 to be controlled by main control device 4 in a manner to be described hereinafter. This address is modulated along with data supply to RF transmitter by controller 12 of main control device 4 for modulation into radio control signal broadcast via antenna 36.

[0045] In the absence of controller 72 receiving data from RF receiver 70 including the data address of controller 72, relay 74 has its contact 78 in a state connecting room telephone 82 to telephone line 80. However, if controller 72 receives data from data RF receiver 70 that includes the data address stored in controller 72, controller 72 causes relay 74 to set switch 76 to a state connecting modem 76 to telephone line 80. In this state, room telephone 82 is isolated from line 80.

[0046] The data received by controller 72 from RF receiver 70 can include, without limitation, information regarding the ID code generated by card reader 20, the motion signal generated by motion sensor 16 and/or the temperature signal generated by temperature sensor 18. After controller 72 causes relay 74 to connect modem 76 to telephone line 80, controller 72 causes modem 76 to dial the telephone number associated with modem 88. In response to receiving this dialing information, telephone switch 84 connects modem 76 to modem 88 in a manner known in the art. Controller 72 then transmits to modem 76 a message containing this information. Modem 76 modulates this message and transmits this message to modem 88 which demodulates the message and supplies it to central controller 90 for processing and/or retention.

[0047] Central controller 90 operates under the control of a software program for processing and/or retaining messages received from modem 88. Central controller 90 includes a processor, memory unit, mass storage unit and interface circuitry which, under the control of the software program, enables central controller 90 to process and store the information conveyed in the message received from modem 88. Central controller 90 preferably includes a real time clock (not shown) which enables central controller 90 to record a time of day when each message is received along with some or all of the information contained in each message. The specifics of central controller 90 have not been included in FIG. 4 for simplicity of illustration.

[0048] With reference to FIG. 5 and with continuing reference to FIG. 1, presence detection and control system 2 can include a remote motion sensor 92 in addition to or as an alternative to motion sensor 16 of main control device 4. Remote motion sensor 92 includes a sensor element 94 which generates a motion signal in response to detecting motion in a field of view of sensor element 94. This motion signal is supplied to an RF encoder/transmitter 96 which modulates the motion control signal and broadcasts the modulated motion control signal as a radio control signal via an antenna 98. Main control device 4 receives this radio control signal via antenna 36 when transmit/receive switch 42 connects antenna 36 to RF receiver 40. RF receiver 40 demodulates the motion control signal from the radio control signal received from remote motion sensor 92 and supplies it to controller 12 for processing. Remote motion sensor 92 also includes an AC/DC power supply 100 which receives AC power from a conventional AC source, such as a wall outlet, and converts the incoming AC power into DC power usable by sensor element 94 and RF encoder/transmitter 96.

[0049] With reference to FIG. 6 and with continuing reference to FIG. 1, presence detection and control system 2 can include a remote smoke detector 102 in addition to or as an alternative to smoke detector 38 of main control device 4. Remote smoke detector 102 includes a smoke detector element 104 which generates a smoke signal in response to detecting the presence of smoke in room 10. This smoke signal is received by an RF encoder/transmitter 106 which modulates the smoke signal and which broadcasts the modulated smoke signal as a radio control signal via antenna 108. Main control device 4 receives this radio control signal via antenna 36 when transmit/receive switch 42 connects antenna 36 and RF receiver 40. RF receiver 40 demodulates the smoke signal from the radio control signal received from remote smoke detector 102 and supplies it to controller 12 for processing. Remote smoke detector 102 includes an AC/DC power supply 110 which receives AC power from a conventional AC source, such as a wall outlet, and which converts the incoming AC power into DC power usable by smoke detector element 104 and RF encoder/transmitter 106. Power supply 110 can be hard wired directly to the source of incoming AC power or can be connected thereto via a wall outlet. Power supply 110 preferably includes a battery 112 which supplies DC power in the event of an interruption of incoming AC power.

[0050] With reference to FIG. 7 and with continuing reference to FIG. 1, instead of supplying room HVAC unit 60 with incoming AC power via a smart outlet 6, e.g., smart outlet 6 b, room HVAC unit 60 can be connected directly to the source of incoming AC power and the operation of room HVAC unit 60 can be controlled by a smart room thermostat 120. Smart room thermostat 120 replaces a conventional thermostat 61 connected to control room HVAC unit 60. In addition to providing user control of room HVAC unit 60 in the same manner as thermostat 61, smart room thermostat 120 includes an antenna which receives radio control signals broadcast by main control device 4 and supplies the received radio control signals to an RF receiver 124 which demodulates from the radio control signals data utilized to control a thermostat control 126. Thermostat control 126 can include a data address which enables main control device 4 to selectively communicate with smart room thermostat 120 via radio control signals including data modulated with the data address of thermostat control 126.

[0051] Thermostat control 126 performs all the essential functions of thermostat 61. Namely, thermostat control 126 enables user selection of a desired ambient temperature in room 10. In addition, thermostat control 126 can also act on data received from RF receiver 124 to control the operation of room HVAC unit 60 in a manner to be described hereinafter. Since thermostat 61 is configured to operate from incoming low level AC and/or DC power supplied via room HVAC unit 60, smart room thermostat 120 is preferably configured likewise. To this end, smart room thermostat 120 includes a low level AC/DC power supply 128 which converts low level AC and/or DC power received from room HVAC unit 60 into DC power for use by RF receiver 124 and thermostat control 126.

[0052] In the embodiment of presence detection and control system 2 shown in FIG. 1, main control device 4, smart outlets 6 a, 6 b, and 6 c, and phone interrupter/dialer 8 are each received in separate enclosures. Each smart outlet 6 includes one or more outlets 114 connected to relay 56 and configured to receive the plug of a power chord of television 64, room HVAC unit 60 or lamp 62. Each smart outlet 6 includes a plug configured to be received in a wall outlet for receiving incoming AC power therefrom. Each smart outlet 6 can be configured to supply power to a different size load. For example, smart outlets 6 a and 6 c can be configured to supply power at 120 volts to like rated power consumption devices, such as television 64 and lamp 62. Thus, smart outlets 6 a and 6 c will each include a plug configured to mate with a 120 volt wall outlet and may include relays 56 having switches 58 rated to convey power at 120 volts. In contrast, smart outlet 6 b may be configured to supply power at 220 volts to room HVAC unit 60. Accordingly, smart outlet 6 b will include a plug configured to mate with a 220 volt wall outlet and may include relay 56 having switch 58 rated to convey power at 220 volts.

[0053] Preferably, main control device 4 and phone interrupter/dialer 8 each include a plug configured to mate with a conventional wall outlet for receiving incoming AC power therefrom.

[0054] As discussed above, main control device 4, phone interrupter/dialer 8 and the one or more smart outlet 6 forming presence detection and control system 2 are configured so that main control device 4 can selectively address and, hence, control each smart outlet 6 and phone interrupter/dialer 8, independent of each other.

[0055] An exemplary operation of presence detection and control system 2 will now be described with reference to the flow chart of FIGS. 8a and 8 b and with continuing reference to FIGS. 1 and 2. Upon initially receiving incoming AC power, main control device 4 initializes in start step 130. After initialization, program flow advances to step 132 where a decision is made whether ID card 34 is received in a slot of card reader 20. If ID card 34 is received in the slot of card reader 20, program flow advances to step 134 where controller 12 determines if ID card 34 was just inserted into the slot of card reader 20. If not, program flow advances to step 136 which returns program flow to start step 130. If, however, controller 12 determines that ID card 34 was just received in card reader 20, program flow advances to step 138.

[0056] In step 138, main control device 4 generates a radio control signal for receipt by phone interrupter/dialer 8. This radio control signal includes the data address of phone interrupter/dialer 8, the ID code recorded on ID card 34 and a command for phone interrupter/dialer 8 to report the ID code to central controller 90. Central controller 90 records this ID code along with the time the ID code was received by central controller 90 as an indication that the individual associated with the ID code entered room 10 at that time. To avoid unauthorized individuals having ID cards 34 from entering room 10, central controller 90 can include a list of ID codes authorized to enter room 10. In response to receiving an ID code that does not match an ID code in the list authorized to enter room 10, central controller 90 can initiate an alarm condition to which security personnel and/or local law enforcement officers can respond.

[0057] Next, program flow advances to step 140 where main control device 4 transmits one or more radio control signals which include the data address of one or more smart outlets 6. These one or more radio control signals cause or enable each smart outlet 6 having its data address included in the radio control signals to close its relay 56 thereby connecting its source of incoming power to the power consumption device connected thereto. Once each smart outlet 6 is enabled, it remains enabled until affirmatively disabled by radio control signals from main control device 4 or by the interruption of AC power to each smart outlet 6. After step 140, program flow advances to step 136 which returns program flow to start step 130.

[0058] Returning to step 132, if main control device 4 determines that ID card 34 is not received in the slot of card reader 20, program flow advances to step 142. In step 142, main control device 4 determines if card 34 was just removed from the slot of card reader 20. If not, program flow advances to step 144.

[0059] In step 144, main control device 4 determines if motion sensor 16 has generated a motion signal in response to detecting motion in a field of view. If motion sensor 16 has not generated a motion signal, program flow advances to step 146.

[0060] In step 146, main control device 4 detects if a temperature signal output by temperature sensor 18 is within a setback temperature limit. This setback temperature limit is utilized by main control device 4 to control the ambient temperature in room 10 in the absence of motion sensor 16 detecting motion in room 10 when ID card 34 is not received in the slot of card reader 20. More specifically, when ID card 34 is not received in the slot of card reader 20 and motion sensor 16 is not generating a motion signal, main control device 4 assumes control of room HVAC unit 60 over the setpoint temperature of thermostat 61. To this end, main control device 4 changes the ambient temperature in room 10 in order to conserve the power consumed by room HVAC unit 60 over the setpoint temperature of thermostat 61. For example, if thermostat 61 of room HVAC unit 60 is set to a desired setpoint temperature, main control device 4 will utilize the temperature signal output by temperature sensor 18 to control smart outlet 6 b to cycle room HVAC unit 60 on and off in a manner that saves electrical energy over the control provided by thermostat 61. For example, if thermostat 61 is set to a setpoint temperature of 76° F. and the ambient temperature outside of room 10 is such that the ambient temperature inside room 10 will increase over time, main control device 4 will cause smart outlet 6 b to cycle power to room HVAC unit 60 so that the temperature in room 10 increases to a setback temperature, e.g., 84° F., where room HVAC unit 60 can readily return room 10 to the setpoint temperature of thermostat 61 when ID card 34 is subsequently received in the slot of card reader 20 and when motion is detected in room 10 by motion sensor 16. Similar comments apply in respect of an ambient temperature outside of room 10 which causes the ambient temperature in room 10 to decrease when room HVAC unit 60 is not operating in accordance with the setpoint temperature of the thermostat 61. In this example, however, the setback temperature will be lower, e.g., 68° F., than the setpoint temperature, e.g., 76° F., of the thermostat 61.

[0061] If main control device 4 determines in step 146 that the ambient temperature of room 10 detected by temperature sensor 18 is within the temperature setback limit, program flow advances to step 148. In step 148, main control device 4 determines if at least smart outlet 6 b is enabled. If smart outlet 6 b is not enabled, program flow advances to step 150 for return of program flow to start step 130. If, however, at least smart outlet 6 b is enabled, program flow advances to step 152 where main control device 4 generates a radio control signal which causes smart outlet 6 b to disable or disconnect room HVAC unit 60 from the source of incoming AC power. From step 152, program flow advances to step 150 for return of program flow to start step 130.

[0062] Returning back to step 146, if the ambient temperature is outside the setback temperature limit, program flow advances from step 146 to step 154. In step 154, main control device 4 transmits a radio control signal which causes at least smart outlet 6 b to enable thereby connecting room HVAC unit 6 to the source of incoming AC power. From step 154, program flow advances to step 156 for return of program flow to start step 130. Preferably, smart outlet 6 b is controlled independent of smart outlet 6 a and/or 6 c to avoid unnecessarily cycling power to lamps 62 and/or television 64. However, this is not to be construed as limiting the present invention.

[0063] As can be seen, steps 146-156 enable main control device 4 to assume control of room HVAC unit to setback the temperature of room 10 when ID card 34 is not inserted in card reader 20 and when motion is not detected in room 10. This can result in tremendous energy savings in hotel/motel rooms where guests often do not setback the setpoint temperature of thermostat 61 upon exiting room 10.

[0064] Returning back to step 144, if ID card 10 is not received in card reader 20, and motion sensor 16 detects motion, program flow-advances to step 158. In step 158, main control device 4 waits a predetermined interval, e.g., 30 seconds, before advancing program flow to step 160. In step 160, a determination is made if card reader 20 has generated an ID code in response to receiving ID card 34. If the ID code is generated before the predetermined interval expires, program flow advances to step 162 for return of program flow to start step 130. If, however, the ID code is not generated before the predetermined interval expires, program flow advances from step 160 to step 164.

[0065] In step 164, main control device 4 transmits a radio control signal which causes phone interrupter/dialer 8 to convey to central controller 90 a message including an indication that the ID code was not received before the predetermined interval expired. This indication may include data notifying central controller 90 that an intruder has entered room 10. In response to receiving this message, central controller 90 stores the message and, preferably, the time of day the message was received, and sets an alarm condition to which security personnel and/or local law enforcement officers can respond. In addition, central controller 90 can coact with cameras (not shown) positioned outside of room 10 to record visual images of the intruder exiting room 10 for later identification purposes.

[0066] Program flow then advances from step 164 to step 166 where main control device 4 waits an interval after reporting the presence of the intruder in room 10. From step 166, program flow advances to step 168 for a return of program flow to start step 130.

[0067] Returning to step 142, if main control device 4 determines that ID card 34 was just removed from card reader 20, program flow advances to step 170. In step 170, main control device 4 transmits radio control signals which cause each smart outlet 6 to disable, thereby isolating the power consumption device connected to each smart outlet 6 from the source of incoming power. Thereafter, program flow advances from step 170 to step 172 where main control device 4 transmits a radio control signal to phone interrupter/dialer 8. This radio control signal causes phone interrupter/dialer 8 to transmit to central controller 90 a message indicating that ID card 34 was just removed from card reader 20. This indication may include a message that guests are exiting room 10. From step 172, program flow advances to step 174 where main control device 4 waits a predetermined interval before advancing to step 176 for return of program flow to start step 130.

[0068] It should be appreciated that computer software operating presence detection and control system 2 in accordance with the flow diagram shown in FIGS. 8a and 8 b implements four routines 180, 182, 184 and 186 which are individually selected based upon the presence or absence of ID card 34 in the slot of card reader 20, an interval of time ID card 34 was inserted or removed from the slot, and the detection of motion by motion sensor 16. Routine 180 includes steps 136, 138 and 140 which either cause central controller 90 to be notified of the ID code encoded in ID card 34 when it is just received in the slot of card reader 20 or to return to start step 130 when ID card 34 has been received in the slot of card reader 20 for more than a first predetermined interval of time, e.g., 5 seconds.

[0069] Routine 182 is called when ID card 34 has been removed from card reader 20 for more than a second predetermined interval of time, e.g., 30 seconds, and no motion is detected by motion sensor 16. Routine 182 includes steps 146-156 for controlling smart outlet 6 b to cause room HVAC unit 60 to adjust the ambient temperature of room 10 to a setback temperature when no guest is present in room 10. Alternatively, instead of controlling the ambient temperature of room 10 to a setback temperature, main control device 4 can cause room HVAC unit 60 to operate at a fixed duty cycle, e.g., 5 minutes on and 15 minutes off.

[0070] Routine 184 executes when ID card 34 is removed from card reader 20 for more than the second predetermined interval of time and motion is detected by motion sensor 16. Routine 184 includes steps 158-168 which detect whether ID card 34 is received in the slot of card reader 20 within a third predetermined interval of time, e.g., 30 seconds. If ID card 34 is received in the slot of card reader 20 within the third predetermined interval, routine 184 returns program flow to start step 130 without taking any action. However, if ID card 34 is not received in the slot of card reader 20 within the third predetermined interval of time, main control device 4 causes central controller 90 to receive via phone interrupter/dialer 8 a message indicating the presence of an intruder in room 10. Thereafter, program flow advances to start step 130 after an intruder delay interval executes in step 166.

[0071] Lastly, routine 186 executes if ID card 34 was just removed from card reader 20 within a fourth predetermined interval of time. Routine 186 includes steps 170-176 which disable smart outlets 6 and which cause central controller 90 to receive a message that ID card 34 has been removed from card reader 20, which message suggests that a guest is exiting room 10.

[0072] By continuously, selectively executing routines 180, 182, 184 and 186, the presence of an authorized guest or an unauthorized intruder in room 10 can be monitored and recorded. In addition, when an authorized guest or staff member, such as cleaning personnel, enter room 10 and insert ID card 34 in the slot of card reader 20, the control of room HVAC unit 60 is relinquished to thermostat 61 which causes room HVAC unit 60 to operate to return the ambient temperature in room 10 to the temperature set at thermostat 61. In contrast, if ID card 34 has been removed from card reader 20 for a predetermined interval, e.g., 30 seconds, and motion sensor 16 does not detect motion in room 10, room HVAC unit 60 is controlled by smart outlet 6 b to adjust the ambient temperature in room 10 to a setback temperature under the control of main control device 4. Lastly, if motion is detected in room 10 when ID card 34 has been removed from card reader 24 for longer then a predetermined interval, and if ID card 34 is not inserted in card reader 20 for another predetermined interval after motion is detected, central controller 90 receives a message indicative of the absence of ID card 30 in card reader 20 and the detection of motion in room 10, which message suggests the presence of an unauthorized intruder in room 10.

[0073] Preferably, one or more ID cards 34 are issued to one or more guests staying in room 10. To encourage the use of ID cards 34, audio speaker 30 of main control device 4 is caused to generate a tone when motion is initially detected in room 10 and when an ID card 34 is not received in the slot of card reader 20. When ID card 34 is received in the slot of card reader 20, main control device 4 causes audio speaker 30 to terminate generating the tone. This tone has the additional benefit of notifying an intruder into room 10 that their presence has been detected whereupon, it is believed, the intruder will exit room 10 before committing larceny. To further encourage use of ID cards 34, the tone generated by audio speaker 30 can increase in volume if ID card 34 is not received in the slot of card reader 20 a predetermined interval of time after motion is initially detected in room 10.

[0074] As can be seen, the present invention is a presence detection and control system, and, more specifically, a security and energy control system which can detect and record the presence or absence of an authorized guest or staff member in room 10, the presence of an unauthorized intruder in room 10 and which can selectively control the ambient temperature in room 10 as a function of the presence or absence of an authorized guest or staff member therein.

[0075] The present invention has been described with reference to the preferred embodiments. Obvious modifications and alterations will occur to others upon reading the preceding detailed description. For example, instead of utilizing smart outlet 6 a to control room HVAC unit 60, smart room thermostat 120 can replace thermostat 61 for controlling the selected application of incoming low level power to room HVAC unit 60 to control the operation thereof under the control of main control device 4. In addition, while described in connection with the use of telephone line 80 for communicating messages between phone interrupter/dialer 8 and central controller 90, a computer network, such as a local area network or a wide area network, can be utilized to communicate messages to central controller 90 via suitable computer cabling. In this embodiment, relay 74 and modem 76 of phone interrupter/dialer 8 are replaced with a network interface card (not shown), such as an Ethernet card, for communicating with the computer network utilizing an established or custom protocol. Lastly, the operation of presence detection and control system 2 can include other steps and/or routines other than those shown in the flow chart of FIGS. 8a and 8 b. For example, main control device 4 can cause phone interrupter/dialer 8 to immediately transmit a message to central controller 90 indicative of the detection of motion in room 10 when an ID card 34 is not received in the slot of card reader 20. Thereafter, if central controller 90 does not receive an indication from main control device 4 that an ID card 34 is received in the slot of card reader 20 within a predetermined interval, central controller 90 can initiate an alarm condition without prompting from main control device 4. It is intended that the invention be construed as including all such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof. 

The invention claimed is:
 1. A security and energy control system comprising: a card reader for generating an identification (ID) code in response to detecting an ID card; a motion sensor for generating a motion signal in response to detecting motion in a field of view of the motion sensor; a temperature sensor for generating a temperature signal based on a temperature detected thereby; a transmitter for generating at least one wireless control signal based on the ID code, the motion signal and/or the temperature signal; a first switch connected between an energy source and an energy consumption device; a first receiver responsive to a first wireless control signal from the transmitter for causing the first switch to connect the energy source to the power consumption device; means for conveying a message on a communication link; and a second receiver responsive to a second wireless control signal from the transmitter for causing the conveying means to convey the message on the communication link, wherein the conveying means includes a first controller for producing the message based on the second wireless control signal, transmitting means responsive to the first controller for transmitting the message on the communication link and a second switch connected between the transmitting means and the communication link, the second switch responsive to the first controller for connecting the transmitting means to the communication link.
 2. The system as set forth in claim 1, wherein the transmitting means includes a modem.
 3. The system as set forth in claim 1, further including a second controller responsive to the motion signal for causing the transmitter to output the second wireless control signal which causes the conveying means to convey the message including an indication that the motion signal was generated.
 4. The system as set forth in claim 3, wherein the second controller is responsive to the temperature signal for causing the transmitter to generate the first wireless control signal.
 5. The system as set forth in claim 1, further including a second controller responsive to the motion signal and the ID code, wherein: the second controller determines if a predetermined interval expires from a time when the motion signal is generated; if the ID code is generated before the predetermined interval expires, the second controller causes the transmitter to generate the second wireless control signal which causes the conveying means to convey the message including the ID code; and if the ID code is not generated before the predetermined interval expires, the second controller causes the transmitter to generate the second wireless control signal which causes the conveying means to convey the message including an indication that the ID code was not received before the predetermined interval expired.
 6. The system as set forth in claim 1, further including: a second controller responsive to the motion signal and the ID code for determining if the ID code is generated within a predetermined interval after the motion signal is generated and for causing the conveyed message to include an indication thereof; and a third controller responsive to the conveyed message for setting an alarm condition when the conveyed message includes the indication that the ID code was not generated before the expiration of the predetermined interval.
 7. The system as set forth in claim 1, further including: a second controller responsive to the ID code for causing the conveyed message to include the ID code; and a third controller responsive to the conveyed message for setting an alarm condition when the ID code does not match a reference ID code.
 8. The system as set forth in claim 1, further including: means for receiving the conveyed message from the communication link; and a second controller which records data related to each received message and/or a time each received message is received by the receiving means.
 9. The system as set forth in claim 1, wherein: the ID code is magnetically recorded on the ID card; and the card reader includes means for detecting the ID code when the ID card is positioned adjacent or moves adjacent the card reader.
 10. The system as set forth in claim 1, further including a second controller responsive to the temperature signal for causing the transmitter to generate the first wireless control signal which causes the first switch to selectively connect/disconnect the energy source to/from the power consumption device as a function of the temperature signal or a predetermined duty cycle.
 11. The system as set forth in claim 1, wherein at least one of the switches comprises a relay.
 12. A security and energy control system comprising: means for outputting an identification (ID) code related to an identity of an individual; means for producing a motion signal in response to detecting motion in a field of view; means for producing a temperature signal related to an ambient temperature; means for generating at least one wireless control signal based on the ID code, the motion signal and/or the temperature signal; means for receiving the at least one wireless control signal; and at least one of (i) means for connecting an energy source to an energy consumption device in response to the receiving means receiving the at least one wireless control signal and (ii) means for conveying a message to a communication link in response to the receiving means receiving the at least one wireless control signal, wherein the receiving means includes at least one of: a first receiver responsive to a first wireless control signal for causing the connecting means to connect the energy source to the energy consumption device; and a second receiver responsive to a second wireless control signal for causing the conveying means to convey the message to the communication link.
 13. The system as set forth in claim 12, further including means for determining when a predetermined interval expires from a time when the motion signal is generated, wherein: in response to output of the ID code before expiration of the predetermined interval, the generating means generates the second wireless control signal which causes the conveying means to convey the message including the ID code; and in response to expiration of the predetermined interval before output of the ID code, the generating means generates the second wireless control signal which causes the conveying means to convey the message excluding the ID code.
 14. The system as set forth in claim 13, further including means for processing the message conveyed to the communication link including at least one of: (i) recording a time of day the message is processed; (ii) recording the ID code included in the message when the ID code matches a reference ID code; (iii) setting an alarm condition when the ID code does not match a reference ID code; and (iv) setting the alarm condition when the message does not include the ID code.
 15. The system as set forth in claim 14, wherein the conveying means includes: a first controller for converting the second wireless control signal received by the second receiver into the message; a first modem responsive to the first controller for transmitting the message to the communication link; and a switch responsive to the first controller for selectively connecting the modem to the communication link.
 16. The system as set forth in claim 15, wherein the processing means includes: a second modem connected to the communication link for receiving the message transmitted by the first modem; and a second controller for acting on the message.
 17. The system as set forth in claim 12, wherein the connecting means includes: a controller for converting the first wireless control signal received by the first receiver into data; and a switch responsive to the controller for selectively connecting/disconnecting the energy source to/from the energy consumption device as a function of the data.
 18. The system as set forth in claim 17, wherein: the switch selectively connects/disconnects the energy source to/from the energy consumption device at one of a predetermined duty cycle and a temperature related to the temperature signal.
 19. The system as set forth in claim 12, wherein the communication link includes at least one of a telephone line, a computer network cable and a wireless communication link.
 20. A security and energy control method comprising the steps of: (a) determining if an object having an identification (ID) code associated therewith is either present at or absent from a predetermined location within a room; (b) if the object is present at t~he predetermined location for less than a first duration, causing the ID code to be communicated to a computer located remotely along with an indication that the object is present at the predetermined location and causing power to be provided to an energy consumption device; (c) if the object is absent from the predetermined location for less than a second duration, causing an indication that the object is not present at the predetermined location to be communicated to the computer and causing power to be withheld from the energy consumption device; (d) if the object is absent from the predetermined location for more than the second duration, detecting for motion in the room; and (e) if motion is detected in step (d), causing an indication that motion has been detected to be communicated to the computer after delaying a third duration.
 21. The method of claim 20, wherein the energy consumption device is one of a lamp and a television.
 22. The method of claim 20, further including repeating steps (a)-(e).
 23. The method of claim 20, wherein: the object is an ID card; and the predetermined location is an ID card reader.
 24. The method of claim 20, further including: (f) if motion is not detected in step (d), causing power to be provided to or withheld from the energy consumption device based on an ambient temperature of the room.
 25. The method of claim 24, further including repeating steps (a)-(f).
 26. The method of claim 24, wherein step (f) includes: causing power to be provided to the energy consumption device when the ambient temperature is within a setback limit; and causing power to be withheld from the energy consumption device when the ambient temperature is outside the setback limit.
 27. The method of claim 24, wherein the energy consumption device is at least one of a heating system and a cooling system.
 28. A security and energy control method comprising: (a) detecting for the presence of an identification (ID) code associated with an object; (b) in response to detecting the presence of the ID code, communicating the ID code to a computer and providing power to an energy consumption device; (c) in response to detecting that the ID code has been absent for less than a first duration, communicating an indication of the absence of the ID code to the computer and withholding power from the energy consumption device, otherwise, detecting for motion in a field of view; and (d) if motion is detected in the field of view and if the presence of the ID code is not detected within a second duration, communicating to the computer an indication that motion has been detected.
 29. The method of claim 28, wherein the energy consumption device is one of a lamp and a television.
 30. The method of claim 28, further including repeating steps (a)-(d).
 31. The method of claim 28, further including: (e) if motion is not detected in the field of view, providing or withholding power from the energy consumption device as a function of an ambient temperature of an environment.
 32. The method of claim 31, wherein the energy consumption device is at least one of a heating system and a cooling system.
 33. The method of claim 31, further including repeating steps (a)-(e).
 34. The method of claim 28, wherein the ID code is embedded in a magnetically encodeable medium of the object. 